const route = {
  state: {
    goBeforeRoute: null,
  },
  mutations: {
    SET_BEFORE_ROUTE: (state, data) => {
      state.goBeforeRoute = data;
    },
  },
  getters: {
    goBeforeRoute: state => state.goBeforeRoute,
  },
};

export default route;
